import datetime

def input_date():
    datestr = input('输入开始日期（2025-05-01）：')
    dt = datetime.datetime.strptime(datestr, '%Y-%m-%d')
    return dt

if __name__ == '__main__':
    date = input_date()

    num = int(input('间隔天数：'))

    new_date = date + datetime.timedelta(days=num)
    print(new_date)
